package com.bupt.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.bupt.dto.Result;
import com.bupt.pojo.VoucherOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    Result seckillVoucher(Long voucherId) throws JsonProcessingException;

    void createVoucherOrder(VoucherOrder voucherOrder);
}
